#!/usr/bin/python
# plot_MassVsLum.py
'''Plot the Kroupa distribution vs. the Binney-Merrifield distribution.'''

import numpy
from matplotlib import use as useBackend
useBackend('Agg')
import matplotlib.pyplot as ppt

def lumfunc(simpars, phypars):
    for i in simpars:
        cmd = "%s = simpars['%s']" % (i,i)
        exec cmd
    for i in phypars:
        cmd = "%s = phypars['%s']" % (i,i)
        exec cmd
